package jplat.base.user.impl;


import ebcs.database.bean.BsUserInfor;
import jplat.base.user.IUserInfoGetters;
import jplat.core.trans.JAppContext;
import jplat.error.exception.JSystemException;

public class JUserInfoGettersSession implements IUserInfoGetters
{
	/**
	 * 通过会话获取用户信息.
	 * @author zhangcq
	 * @date Nov 29, 2016
	 * @comment 
	 * @param token
	 * @param sysCode
	 * @return
	 * @throws JSystemException 
	 */
	
	public BsUserInfor getUserInfo( JAppContext context ) throws JSystemException
	{
		return (BsUserInfor)context.getSession().getUserInfo();
	}
}
